package com.mt.grand.factory.abstracts;

import com.mt.grand.factory.domain.Food;
import com.mt.grand.factory.func.AppleFactoryFunc;
import com.mt.grand.factory.func.OrangeFactoryFunc;

public class DefaultFoodFactory extends AbstractFactory {

    public Food getApple() {
        return new AppleFactoryFunc().getFood();
    }

    public Food getOrange() {
        return new OrangeFactoryFunc().getFood();
    }
}
